<%--
  Created by IntelliJ IDEA.
  User: NEUZJ
  Date: 2018/7/4
  Time: 19:48
  To change this template use File | Settings | File Templates.
--%>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <jsp:include page="/static/common/easyui_header.jsp"/>
 <script type="text/javascript" src="/static/js/views/schoolcontact.js"></script>
</head>



<body>
<table id="schoolcontact_datagrid">
</table>
<div id="schoolcontact_datagrid_button">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add'" data-cmd="addschoolContact">添加</a>

    <a class="easyui-linkbutton" id ="update_btn" data-options="iconCls:'icon-edit'" data-cmd="updateSchoolContact">更新</a>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit'" data-cmd="checkSchoolContact">查看</a>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove'" data-cmd="fireSchoolContact">删除</a>

    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload'" data-cmd="reloadSchoolContact">刷新</a>

    <span>关键字</span>
    <input class="easyui-textbox" id="keyword">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload'" data-cmd="searcch">查询</a>
</div>

<div id="schoolcontact_dialog" class="easyui-dialog" title="添加,"
     data-options="buttons:'#schoolcontact_dialog_button',closed:true">
    <form id="schoolcontact_form" method="post">
        <input type="hidden" name="id" id="schoolcontact_id">
        <table>
            <tr>
                <td>姓名</td>
                <td><input name="name" ,class="easyui-textbox" style="width:200px;"></td>
            </tr>
            <tr>
                </select></td>
                <td>性别</td>
                <td><select  class="easyui-combobox" name="male" style="width:200px;">
                    <option value="1">男</option>
                    <option value="0">女</option>
                </select>
                </td>
            </tr>
            <tr>
                <td>学校</td>
                <td><input id="combobox_school" class="easyui-combobox" name="school.id" style="width:200px;"
                           data-options="valueField:'id',textField:'schoolName',url:'/schoolcontact/listAllBigCustomer'"/></td>
                </td>
            </tr>
            <tr>
                <td>院系</td>
                <td><input name="deptName" ,class="easyui-textbox" style="width:200px;"></td>
            </tr>
            <tr>
                <td>职位</td>
                <td><input name="duty" ,class="easyui-textbox" style="width:200px;"></td>
            </tr>
            <tr>
                </select></td>
                <td>主联系人</td>
                <td><select  class="easyui-combobox" name="principal" style="width:200px;">
                    <option value="1">主联系人</option>
                    <option value="0">非主联系人</option>
                    <option value="2">失效</option>
                </select>
                </td>
            </tr>
            <tr>
                <td>联系电话</td>
                <td><input name="tel" ,class="easyui-textbox" style="width:200px;"></td>
            </tr>

            <tr>
                <td>QQ</td>
                <td><input name="qq" ,class="easyui-textbox" style="width:200px;"></td>
            </tr>

            <tr>
                <td>邮箱</td>
                <td><input name="email" ,class="easyui-textbox" style="width:200px;"></td>
            </tr>
        </table>
    </form>

</div>
<div id="schoolcontact_dialog_button">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-add'" data-cmd="save">确定</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-edit'" data-cmd="cancel">取消</a>

</div>
</body>

</html>
